<template>
  <div>
    <!-- 1.0 购物车头部 -->
    <van-nav-bar
      fixed
      left-arrow
      @click-left="$router.go(-1)"
      right-text="编辑"
      title="购物车"
    />

    <!-- 2.0 卡片 -->

    <!-- 3.0 结算 -->
    <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit">
      <van-checkbox v-model="checked">全选</van-checkbox>
      <template #tip>
        你的收货地址不支持同城送,
        <span @click="onClickEditAddress">修改地址</span>
      </template>
    </van-submit-bar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      checked: false
    }
  },
  methods: {
    onClickEditAddress() {},
    onSubmit() {}
  }
}
</script>

<style lang="less" scoped></style>
